package com.cc.service;

import com.cc.entity.ChildrenCategory;
import com.cc.entity.ParentCategory;

import java.util.List;

/**
 * @program:
 * @ClassName:
 * @description:
 * @author: zgc
 * @date:
 * @Version 1.0
 **/
public interface CategoryService {
    //    查询父类别
    List<ParentCategory> selectParentCategory(ParentCategory parentCategory);

    //    查询子类别
    List<ChildrenCategory> selectChildrenCategory(ChildrenCategory childrenCategory);

    //    添加子类别
    int insertChildrenCategory(ChildrenCategory childrenCategory);
}
